package com.mathmodeling.dto;

public class LoginResponse {
    
    private String token;
    private String userId;
    private String role;
    private String teamId;
    
    public LoginResponse() {}
    
    public LoginResponse(String token, String userId, String role) {
        this.token = token;
        this.userId = userId;
        this.role = role;
    }
    
    public LoginResponse(String token, String userId, String role, String teamId) {
        this.token = token;
        this.userId = userId;
        this.role = role;
        this.teamId = teamId;
    }
    
    // Getter和Setter方法
    public String getToken() {
        return token;
    }
    
    public void setToken(String token) {
        this.token = token;
    }
    
    public String getUserId() {
        return userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    public String getRole() {
        return role;
    }
    
    public void setRole(String role) {
        this.role = role;
    }
    
    public String getTeamId() {
        return teamId;
    }
    
    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }
} 